<?php

class MultiSelectEnumeration extends MultiSelect
{

	public function __construct($enumeration)
	{

		$keys = array_keys($enumeration);
		foreach($keys as $key)
		{
//			echo "array[".$key."] = ".$enumeration[$key]."<br>\n";
			$this->addOption(new DropDownListOption($enumeration[$key],$key));
		}

	}

}

?>
